MPHB\Emails\AbstractEmail A

Total Complexity 65
Dependencies 10
Dependents 1
Total lines 588
Lines of code 264
Logical lines of code 138
Comment lines 177
Methods 41
Properties 11

Methods 41

Method Rating Maintainability Complexity Lines of code
trigger()
A
57 8 16
triggerCustomerRegistration()
S
60 6 13
getDeprecatedNotices()
S
55 5 19
generateSettingsFields()
S
44 1 54
setupCustomer()
S
64 3 9
checkReceiver()
S
66 3 9
applyStyles()
S
62 2 11
getMessageTemplate()
S
69 2 7
getMessageHeaderTextTemplate()
S
69 2 7
getSubjectTemplate()
S
69 2 7
getAuthor()
S
82 1 3
isPrevented()
S
78 1 3
getLabel()
S
82 1 3
getDescription()
S
82 1 3
setupPayment()
S
77 1 4
getBooking()
S
82 1 3
getOption()
S
69 1 6
setupBooking()
S
77 1 4
getId()
S
82 1 3
receiverError()
S
78 1 3
isTestMode()
S
82 1 3
getPayment()
S
82 1 3
isDisabled()
S
74 1 4
__construct()
S
72 1 5
getDefaultMessageTemplate()
S
70 1 6
getDefaultMessageHeaderText()
S
100 1 0
send()
S
70 1 6
initLabel()
S
100 1 0
initDescription()
S
100 1 0
getReceiver()
S
100 1 0
log()
S
100 1 0
getDefaultSubject()
S
100 1 0
getSubject()
S
73 1 5
replaceTags()
S
80 1 3
getMessage()
S
68 1 8
getMessageHeader()
S
66 1 9
getMessageContent()
S
73 1 5
initStrings()
S
78 1 4
getMessageFooter()
S
67 1 8
getMessageFooterText()
S
81 1 3
getMessageHeaderText()
S
73 1 5